window.onload = function(){
	var height = $(window).height();
	$('body').height(height);
	var height2 = $('.scrollCont').offset().top;
	var height3 = $('.date-footer').height();
	$('.scrollCont').height(height - height2 - height3);
	var myScroll = new IScroll('#wrapper', {
	    mouseWheel: true,
	    scrollbars: false
	});
	console.log(myScroll);
}
$(function(){
	var type = GetQueryString('type');
	if(type == 'personal'){
		$('.tongji').hide();
	}else{
		
	}
	function GetQueryString(name) {
	     var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)");
	     var r = window.location.search.substr(1).match(reg);
	     if(r!=null)return  unescape(r[2]); return null;
	}
})
